package com.base.mapper.voipmapper;

import com.base.po.voip.SelfShopOrderCache;
import com.base.po.voip.SelfShopOrderCacheExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SelfShopOrderCacheMapper {
    int countByExample(SelfShopOrderCacheExample example);

    int deleteByExample(SelfShopOrderCacheExample example);

    int deleteByPrimaryKey(String id);

    int deleteByUserID(String userid);

    int insert(SelfShopOrderCache record);

    int insertSelective(SelfShopOrderCache record);

    List<SelfShopOrderCache> selectByExample(SelfShopOrderCacheExample example);

    List<SelfShopOrderCache> selectByGoodsID(@Param("goodsid") String goodsid, @Param("userid") String userid);

    List<SelfShopOrderCache> selectByUserID(String userid);

    SelfShopOrderCache selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SelfShopOrderCache record, @Param("example") SelfShopOrderCacheExample example);

    int updateByExample(@Param("record") SelfShopOrderCache record, @Param("example") SelfShopOrderCacheExample example);

    int updateByPrimaryKeySelective(SelfShopOrderCache record);
}